package com.naiterui.ehp.bs.cms.modules.followup.vo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.naiterui.ehp.bp.bo.form.FormDrawingBO;
import com.naiterui.ehp.bs.cms.common.json.Dict;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 随访表单
 * 
 * @author yangfuya
 * @since 2022/1/5
 */
@Data
public class FollowUpFormDetailVO implements Serializable {

    private static final long serialVersionUID = 5234653241627050798L;
    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "表单id")
    private String formId;

    @ApiModelProperty(value = "表单名称")
    private String name;

    @ApiModelProperty(value = "所属医生，为0时表示为所有医生共享")
    private Long doctorId;

    @Dict(type = "follow_up_form_type")
    @ApiModelProperty(value = "表单类型，从字典拿")
    private Integer type;

    @ApiModelProperty(value = "状态 0.开启 1.关闭")
    private Integer status;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createdBy;

    @ApiModelProperty(value = "表单设计结构")
    private List<FormDrawingBO> formDrawing;
}
